package moxl.parser.assemblers.doctypedecl;

import moxl.parser.ParserException;
import moxl.parser.markup.types.DocumentTypeDeclarationMarkup;
import moxl.tokenizer.TokenizerException;

public class DocumentTypeDeclarationExpectingBodyState extends DocumentTypeDeclarationStateDelegateBase
{
	@Override
	protected void acceptDoctypeBody(DocumentTypeDeclarationAssemblerContext ctx) throws ParserException, TokenizerException
	{
		ctx.setMarkup(new DocumentTypeDeclarationMarkup());
	    ctx.changeState(DocumentTypeDeclarationAssemblerState.DocumentTypeDeclarationExpectingCloseChevonState);
	}
}
